<div id="editor-loading" class="editor-form-loading">
    <div class="spinner-border text-primary" role="status">
        <span class="sr-only">加载中...</span>
    </div>
</div>

<style>
    .editor-form-loading {
        min-height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f8f9fa;
        border-radius: 4px;
        margin-bottom: 1rem;
    }

    .django-mdeditor {
        display: none;  /* 初始隐藏编辑器 */
    }
</style>